﻿using MuXue.Zyiz.Template.Domain.Entity;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;

namespace MuXue.Zyiz.Template.Infrastructure
{
    public class ApplicationDbContext : DbContext, IDbContext
    {
        public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options)
        {

        }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            base.OnModelCreating(modelBuilder);
            
        }

        /// <summary>
        /// 【Demo可删除】
        /// </summary>
        public DbSet<cs_orders> cs_orders { get; set; }
        /// <summary>
        /// 【Demo可删除】
        /// </summary>
        public DbSet<cs_order_course> cs_order_course { get; set; }
 

        


    }
}
